//
//  YCAlertConfig.h
//  YCAlertViewDemo
//
//  Created by carpenter on 2019/11/7.
//  Copyright © 2019 carpenter. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


@interface YCAlertConfig : NSObject

/// 是否支持点击遮罩移除视图，默认NO
@property (nonatomic ,assign) BOOL touchHide;

/// 背景遮罩层透明度(0~1),默认0.4
@property (nonatomic ,assign) CGFloat maskAlpha;

/// 圆角半径，默认10.0pt
@property (nonatomic ,assign) CGFloat cornersRadius;

/// 动画持续时间，默认0.25秒
@property (nonatomic ,assign) NSTimeInterval animationDuration;



/// 标题文本颜色，默认#000000
@property (nonatomic ,strong) UIColor * titleColor;
 
/// 描述文本颜色，默认#000000
@property (nonatomic ,strong) UIColor * messageColor;

/// 功能按钮字体颜色，默认#E6E6E6
@property (nonatomic ,strong) UIColor * actionTextColor;

/// 功能按钮默认颜色，默认#FFFFFF
@property (nonatomic ,strong) UIColor * actionBackgroundNormalColor;

/// 功能按钮高亮颜色，默认#F4F4F4
@property (nonatomic ,strong) UIColor * actionBackgroundHeightColor;
 
 

/// 标题文本字体，默认17
@property (nonatomic ,strong) UIFont * titleFont;

/// 描述文本字体，默认14
@property (nonatomic ,strong) UIFont * messageFont;
 
/// 功能按钮字体，默认16
@property (nonatomic ,strong) UIFont * actionTextFont;

@end


@interface UIColor (YCAlert)

+ (UIColor *)alert_colorWithHex:(NSString *)hex;

@end

@interface UIImage (YCAlert)

+ (UIImage *)alert_imageWithColor:(UIColor *)color;

@end
